package org.lmj.dos.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@Entity
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private int pageNum;

    private int pageSize;

    private int size;

    private String orderBy;

    private int startRow;

    private int endRow;

    private int total;

    private int pages;

    //private List<ProductVo.ProductsItems> productList;

    private int firstPage;

    private int prePage;

    private int nextPage;

    private int lastPage;

    private boolean hasPreviousPage;

    private boolean hasNextPage;

    private int navigatePages;

  //  private List<Integer> navigatepageNums;

    private Integer navigateFirstPage;
    private Integer navigateLastPage;



}